package com.zm.repositories.jpa;

import com.zm.bean.TestDoorRecordBean;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;


public interface CabTestDoorRecordRepository extends JpaRepository<TestDoorRecordBean, Long> {


    @Override
    Optional<TestDoorRecordBean> findById(Long aLong);


    Page<TestDoorRecordBean> findAllByCabinetId(String iterable, Pageable pageable);
}
